package com.changgou.content.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 广告分类信息
 *
 * @author gaofeng
 * @date 2025/4/20 10:51
 */
@Data
@ApiModel(description = "ContentCategory", value = "ContentCategory")
@Table(name = "tb_content_category")
public class ContentCategory implements Serializable {
    @ApiModelProperty(value = "类目ID")
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    private Long id;

    @ApiModelProperty(value = "分类名称")
    @Column(name = "name")
    private String name;
}